package cyan.gf.util;

import javafx.stage.Stage;

import java.util.Hashtable;

/**
 * Created by cyan on 2017/1/22.
 * Email:qsyan@vip.qq.com
 */
public class StagePool {

  static Hashtable stageTable = new Hashtable();

  public static void put(String key, Stage stage) {
    stageTable.put(key, stage);
  }

  public static Stage get(String key) {
    return (Stage) stageTable.get(key);
  }

}
